package edu.sctu.practice.class02.Wangpeng.Test26;

/**
 * Created by wp on 2015/11/13.
 */
public class Manager extends Employee {
    private final String vehicle;
    public Manager(int a,String b,int s,String i,String vehicle){
        super(a,b,s,i);
        this.vehicle=vehicle;
    }
    public void play(){
        System.out.println("领导信息"+"姓名"+getName()+"年龄"+getAge()+"薪水"+getSalary()+"编号"+getID()+"交通工具"+vehicle);
    }
}
